@echo off
rem 關閉命令回顯功能
rem 重置命令提示字元設置
echo Reset To Command Settings
rem 刪除註冊表 電腦\HKEY_CURRENT_USER\Console%SystemRoot%_system32_cmd.exe
reg delete "HKCU\Console%SystemRoot%_system32_cmd.exe" /f
rem 暫停處理
pause
{
"version": "0.2.0",
"configurations": [
{
"name": "g++.exe build and debug active file",
"type": "cppdbg",
"request": "launch",
"program": "${fileDirname}\${fileBasenameNoExtension}.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"miDebuggerPath": "C:/MinGW/bin/gdb.exe",
"setupCommands": [
{
"description": "啟用 gdb 的美化顯示",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"preLaunchTask": "g++.exe build active file"
}
]
}